package com.czkt.service.impl;

import com.czkt.pojo.Orders;
import com.czkt.mapper.OrdersMapper;
import com.czkt.service.IOrdersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2024-06-19
 */
@Service
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements IOrdersService {


    @Override
    public List<HashMap> getOrderMapList(String odrCustomer) {
        return baseMapper.getOrderMapList(odrCustomer);
    }

    @Override
    public List<HashMap> getOrderMapListYear(String odrCustomer) {
        return baseMapper.getOrderMapListYear(odrCustomer);
    }
}
